using System;
using Bingo.Config;

namespace Bingo.API.Config
{
    public interface IConfigSystem
    {
        void Load();

        T GetOne<T>() where T : IConfig;

        T Get<T>(int id) where T : IConfig;

        T TryGet<T>(int id) where T : IConfig;

        IConfig[] GetAll(Type type);
    }
}